package com.open.capacity.dao;

import com.open.capacity.model.CollectionStation;
import com.open.capacity.model.UserCollection;
import com.open.capacity.model.UserModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: y_022
 * @date: 18:18-2021/6/24
 * @description:
 */
public interface CollectionDao {
    List<UserCollection> findUserCollectionListByUserId(@Param("userModel") UserModel userModel);
    CollectionStation findUserCollectionStationsByStationId(@Param("userCollection") UserCollection userCollection);
    void delCollection(@Param("userCollection") UserCollection userCollection);
}
